Introduce and use a per-CPU read-mostly sub-section
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 13 Jul 2009 10:32:41 +0000 (11:32 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 13 Jul 2009 10:32:41 +0000 (11:32 +0100)
commitcfbf17ffbb03e8c8501cae1bbba5459450b3447c
treecf2e5b34ce9149243688329505ecea8e68c7eb1f
parent749182393c49818b03172986aa2ba6afe3615c5d
Introduce and use a per-CPU read-mostly sub-section

Since mixing data that only gets setup once and then (perhaps
frequently) gets read by remote CPUs with data that the local CPU may
modify (again, perhaps frequently) still causes undesirable cache
protocol related bus traffic, separate the former class of objects
from the latter.

These objects converted here are just picked based on their write-once
(or write-very-rarely) properties; perhaps some more adjustments may
be desirable subsequently. The primary users of the new sub-section
will result from the next patch.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
15 files changed:
xen/arch/ia64/xen/vhpt.c
xen/arch/ia64/xen/xen.lds.S
xen/arch/x86/hvm/vmx/vmcs.c
xen/arch/x86/setup.c
xen/arch/x86/traps.c
xen/arch/x86/x86_32/traps.c
xen/arch/x86/x86_32/xen.lds.S
xen/arch/x86/x86_64/mm.c
xen/arch/x86/x86_64/xen.lds.S
xen/common/kexec.c
xen/common/tmem_xen.c
xen/common/trace.c
xen/include/asm-ia64/linux-xen/asm/percpu.h
xen/include/asm-x86/percpu.h
xen/include/xen/percpu.h